package org.dromara.system.domain.bo;

import org.dromara.system.domain.WbItemFile;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 项目附件业务对象 wb_item_file
 *
 * @author Lion Li
 * @date 2024-03-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = WbItemFile.class, reverseConvertGenerate = false)
public class WbItemFileBo extends BaseEntity {

    /**
     * 项目附件ID
     */
    private Long ossId;

    /**
     * 项目ID
     */
    private Long itemId;

    private Long companyId;

    private Long productId;

    /**
     * 附件名称
     */
    private String fileName;

    private String fileOriginalName;


    /**
     * 附件类型
     */
    private Long fileType;

    /**
     * 地址
     */
    private String url;

    /**
     * 附件大小
     */
    private Long fileSize;


}
